﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Cn.Edwon.Web.Validation {
    public class EONhbmCase {
        private String _PropertyName;
        public String PropertyName {
            set { _PropertyName = value; }
            get { return _PropertyName; }
        }
        private Int32 _Length;
        public Int32 Length {
            set { _Length = value; }
            get { return _Length; }
        }
        private Type _Type;
        public Type Type {
            set { _Type = value; }
            get { return _Type; }
        }
        private Boolean _NotNull;
        public Boolean NotNull {
            set { _NotNull = value; }
            get { return _NotNull; }
        }

        public String Validater {
            set { }
            get {
                return _Type.Name + "|"+_Length+"|"+_NotNull;
            }
        }

    }
}
